<div class="releasePost">
    <button type="submit" class="btn btn-primary btn-block" onclick="javascrtpt:window.location.href='{{ route('topics.create') }}'" >
        发 布 帖 子
    </button>
</div>

@if(isset($forum_categorys) && $forum_categorys->count())
<div class="plate">
    <div class="tit"><h3>板块分类</h3></div>
    <div class="cont">
        <ul>
                @foreach($forum_categorys as $forum_category)
                  <li>
                      <img src="{{ $forum_category->icon }}" alt="">
                      <a href="{{ route('categories.show', $forum_category->id) }}" >
                          {{ $forum_category->name }}
                      </a>
                  </li>
                @endforeach

        </ul>
    </div>
</div>
@endif